further slight decrease of error in conversion
authorØyvind Kolås <pippin@gimp.org>
Mon, 30 Apr 2012 02:47:45 +0000 (04:47 +0200)
committerØyvind Kolås <pippin@gimp.org>
Mon, 30 Apr 2012 02:47:45 +0000 (04:47 +0200)
extensions/gegl-fixups.c

index 7613c18d3a21ef91660c742c65a37c5f8410b23f..5a1b97208e8a493478d25c75f60b6a2f9b62d4ae 100644 (file)
@@ -100,8 +100,8 @@ table_init (void)
           }
         else
           {
-            c  = (u.f * 255.165) + 0.5;
-            cg = (linear_to_gamma_2_2 (u.f) * 255.165) + 0.5;
+            c  = (u.f * 255.1619) + 0.5;
+            cg = (linear_to_gamma_2_2 (u.f) * 255.1619) + 0.5;
             if (cg > 255) cg = 255;
             if (c > 255) c = 255;
           }